<!DOCTYPE html>
<html layout:decorator="components/layout" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      xmlns:th="http://www.thymeleaf.org"
>
<head>
  <title>域名流量统计</title>
</head>
<body>
<div
  layout:fragment="content"
  id="app" v-cloak
>
  <div class="container">
    <div class="myHeader">
      <div class="myHeader-title">
        域名流量统计
      </div>
      <div class="myHeader-tool">
        <el-form inline>
          <el-form-item label="域名:">
            <el-input
              style="display: inline;"
              v-model="form.domain"
              clearable
              size="mini"
              show-word-limit
              maxlength="30"
            ></el-input>
          </el-form-item>
          <el-form-item label-width="0px">
            <el-button size="mini" type="primary" icon="el-icon-search" @click="searchPage"></el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
    <!--table-->
    <my-table
      :data="page.records"
      :columns="columns"
      @handle-selection-change="selection"
    >
    </my-table>
    <div class="pagination">
      <el-pagination
        background
        @size-change="changeSize"
        @current-change="goto"
        :current-page="page.current"
        :page-sizes="[10, 20, 30]"
        :page-size="page.size"
        layout="total, sizes, prev, pager, next, jumper"
        :total="page.total"
      >
      </el-pagination>
    </div>
  </div>
</div>
<div layout:fragment="js">
  <script src="/static/js/module/report-statistics/api/rDomainTrafficApi.js"></script>
  <script src="/static/js/module/report-statistics/admin_plot_block_domain.js"></script>
</div>
</body>
</html>
